﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NesEmulatorX.Factories
{
	public static class DateTimeFactory
	{
		#region Properties

		public static DateTime DateTime
		{
			get
			{
				return DateTimeFactory._dateTime == DateTime.MinValue ? DateTime.Now : DateTimeFactory._dateTime;
			}
		}
		private static DateTime _dateTime = DateTime.MinValue;

		#endregion

		#region Public Static Methods

		public static void SetDateTime(DateTime dateTime)
		{
			DateTimeFactory._dateTime = dateTime;
		}

		#endregion
	}
}
